package com.jjc.android

import com.jjc.android.entity.KeyValuePair
import com.jjc.android.entity.TestedPersonDto

object Constants {

    const val BUNDLE_INFO = "info"
    const val BUNDLE_TYPE = "type"
    const val BUNDLE_ID = "id"
    const val PAGE_SIZE = 10
    const val START_PAGE_NO = 1

    const val TEMP_TOKEN = "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI1IiwianRpIjoiYWI4M" +
            "jAzYzEyNzgxYjNhYTNhNDlhNTJmZDViZjZlYWJjYWYwN2Y3NDZkMDI2OGVhNmQ1ZmY5ZWE3YjY4MTA4OGIzMmVmOWFjZ" +
            "jM2MmY5ZTEiLCJpYXQiOjE2ODk2NzMyOTYuOTA1ODU3LCJuYmYiOjE2ODk2NzMyOTYuOTA1ODU5LCJleHAiOjE3MjE" +
            "yOTU2OTYuOTAxNTI1LCJzdWIiOiI0MTkzIiwic2NvcGVzIjpbInBsYXRmb3JtIl19.fyeeaBjgeEXrdxRKNjs0RxqlP" +
            "MhGRY3f3T92zjxIoUauq7LJlT1CBu5f3onLe2QrsqGUOllxl7g1XMUsJWI_MJW7dXckcRttwWuBk_FZbmfPrwNWc0cP" +
            "q0LVvfhdtW56dNkrb4-t6hxehGJAbQg8biM-AyFPTq6a7KkHB8v-2oMpqrY0qIe_9qv_M532Kzp7zqOufRSu7Tw5wSU" +
            "kluUPbp0qglO-YFy5KLyk4FwfRepvvyyGTjVLwXga3WowmxPsiIm9jNJzRXnPlDlkyA4vB9Q6ayCYOokw3cwTaWDO6I" +
            "QVSL1DlnrUtU3F4BWLF8B2mU2-kzUFeeBzMkUfvwkpZq2v2SOL352GwaL6M_v8910X5eIMzB9TTg9MDU6vcAD13_-7u6" +
            "2nmIinJBK_mN1Z3BHp2Jb6Q3gEGroTHPdD6D46HEgCaH8oTeMcczF-29lMU2YUDv7--loNfn2VvvhH0PgsplEyZFhiDI" +
            "t8xVMPU9T0Gv_Jsif1wD8W_4kcFB_qZvmIOj1Ae44x1ItQBiPiXbLd87eAyybpMZol4LIzWflHrxBjuqmLOa6QTGZCokAx" +
            "s2WjPK_jH8iktC36Z5_NfMNWanuJFzfrt0AdNZHySEfgHzHjDL_IrinFhZAGZ9wfKGDsidpNYxxGM9qcyZ2VivIHYGtTWD" +
            "bJ67juPIkIxJk"
    const val Gender_Woman = "女"
    const val Gender_Man = "男"



    //是否是送检版本
    const val IS_SJ_VERSION = BuildConfig.IS_SJ_VERSION
    interface ScanType{
        companion object{
            val SCAN_DEVICE = 1
            val SCAN_CARD = 2
        }
    }

    interface FieldType{
        companion object{
            val SELECT = "select"
            val NUMBER = "number"
            val DATE = "date"
        }
    }
    const val ONLINE_SERVER = "https://107950.kefu.easemob.com/webim/im.html?configId=fecca3a7-4435-40cc-bd56-ab25d6e8c023&language=zh-CN"
    const val BASE_URL = "http://139.224.14.244:8080/"
    const val ONTUOTU_BASE_URL = "http://139.224.14.244:8888/api/"

    const val upload = "http://106.54.213.16/upload"
    const val reportEx = BASE_URL + "appOperate/reportEx"

    private const val APP_URL = BASE_URL + "app/"
    private const val USER_URL = APP_URL + "user/"

    const val captchaSmsApp = USER_URL + "captchaSmsApp"
    const val userRegister = USER_URL + "userRegister"
    const val smsLoginApp = USER_URL + "smsLoginApp"
    const val loginApp = USER_URL + "loginApp"
    const val updatePwd = USER_URL + "updatePwd"
    const val logoutApp = USER_URL + "logoutApp"
    const val getTuoTuToken = USER_URL + "getTuoTuToken"
    const val updateOldPwd = USER_URL + "updateOldPwd"
    const val getLatelyHealthRecordDetails = USER_URL + "getLatelyHealthRecordDetails"
    const val getHealthRecordDetails = USER_URL + "getHealthRecordDetails"
    const val addDetectionRecord = USER_URL + "addDetectionRecord"
    const val getOneHealthRecordDetails = USER_URL + "getOneHealthRecordDetails"
    const val getOneMinorTermDetails = USER_URL + "getOneMinorTermDetails"

    const val getFormList = ONTUOTU_BASE_URL + "appsheets/sheetapi/getFormList"
    const val addFormRow = ONTUOTU_BASE_URL + "appsheets/sheetapi/addFormRow"
    const val deleteFormRow = ONTUOTU_BASE_URL + "appsheets/sheetapi/deleteFormRow"
    const val editFormRowById = ONTUOTU_BASE_URL + "appsheets/sheetapi/editFormRowById"

}